/*
 * XML Type:  table-generator
 * Namespace: http://java.sun.com/xml/ns/persistence/orm
 * Java type: com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator
 *
 * Automatically generated - do not modify.
 */
package com.googlecode.horncomb.orm.jpa.v10.xmlbeans;


/**
 * An XML table-generator(@http://java.sun.com/xml/ns/persistence/orm).
 *
 * This is a complex type.
 */
public interface TableGenerator extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(TableGenerator.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s5B4C45932D2FDE7154D0A2FFEBD94B1B").resolveHandle("tablegeneratoraca7type");
    
    /**
     * Gets a List of "unique-constraint" elements
     */
    java.util.List<com.googlecode.horncomb.orm.jpa.v10.xmlbeans.UniqueConstraint> getUniqueConstraintList();
    
    /**
     * Gets array of all "unique-constraint" elements
     * @deprecated
     */
    @Deprecated
	com.googlecode.horncomb.orm.jpa.v10.xmlbeans.UniqueConstraint[] getUniqueConstraintArray();
    
    /**
     * Gets ith "unique-constraint" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.UniqueConstraint getUniqueConstraintArray(int i);
    
    /**
     * Returns number of "unique-constraint" element
     */
    int sizeOfUniqueConstraintArray();
    
    /**
     * Sets array of all "unique-constraint" element
     */
    void setUniqueConstraintArray(com.googlecode.horncomb.orm.jpa.v10.xmlbeans.UniqueConstraint[] uniqueConstraintArray);
    
    /**
     * Sets ith "unique-constraint" element
     */
    void setUniqueConstraintArray(int i, com.googlecode.horncomb.orm.jpa.v10.xmlbeans.UniqueConstraint uniqueConstraint);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "unique-constraint" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.UniqueConstraint insertNewUniqueConstraint(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "unique-constraint" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.UniqueConstraint addNewUniqueConstraint();
    
    /**
     * Removes the ith "unique-constraint" element
     */
    void removeUniqueConstraint(int i);
    
    /**
     * Gets the "name" attribute
     */
    java.lang.String getName();
    
    /**
     * Gets (as xml) the "name" attribute
     */
    org.apache.xmlbeans.XmlString xgetName();
    
    /**
     * Sets the "name" attribute
     */
    void setName(java.lang.String name);
    
    /**
     * Sets (as xml) the "name" attribute
     */
    void xsetName(org.apache.xmlbeans.XmlString name);
    
    /**
     * Gets the "table" attribute
     */
    java.lang.String getTable();
    
    /**
     * Gets (as xml) the "table" attribute
     */
    org.apache.xmlbeans.XmlString xgetTable();
    
    /**
     * True if has "table" attribute
     */
    boolean isSetTable();
    
    /**
     * Sets the "table" attribute
     */
    void setTable(java.lang.String table);
    
    /**
     * Sets (as xml) the "table" attribute
     */
    void xsetTable(org.apache.xmlbeans.XmlString table);
    
    /**
     * Unsets the "table" attribute
     */
    void unsetTable();
    
    /**
     * Gets the "catalog" attribute
     */
    java.lang.String getCatalog();
    
    /**
     * Gets (as xml) the "catalog" attribute
     */
    org.apache.xmlbeans.XmlString xgetCatalog();
    
    /**
     * True if has "catalog" attribute
     */
    boolean isSetCatalog();
    
    /**
     * Sets the "catalog" attribute
     */
    void setCatalog(java.lang.String catalog);
    
    /**
     * Sets (as xml) the "catalog" attribute
     */
    void xsetCatalog(org.apache.xmlbeans.XmlString catalog);
    
    /**
     * Unsets the "catalog" attribute
     */
    void unsetCatalog();
    
    /**
     * Gets the "schema" attribute
     */
    java.lang.String getSchema();
    
    /**
     * Gets (as xml) the "schema" attribute
     */
    org.apache.xmlbeans.XmlString xgetSchema();
    
    /**
     * True if has "schema" attribute
     */
    boolean isSetSchema();
    
    /**
     * Sets the "schema" attribute
     */
    void setSchema(java.lang.String schema);
    
    /**
     * Sets (as xml) the "schema" attribute
     */
    void xsetSchema(org.apache.xmlbeans.XmlString schema);
    
    /**
     * Unsets the "schema" attribute
     */
    void unsetSchema();
    
    /**
     * Gets the "pk-column-name" attribute
     */
    java.lang.String getPkColumnName();
    
    /**
     * Gets (as xml) the "pk-column-name" attribute
     */
    org.apache.xmlbeans.XmlString xgetPkColumnName();
    
    /**
     * True if has "pk-column-name" attribute
     */
    boolean isSetPkColumnName();
    
    /**
     * Sets the "pk-column-name" attribute
     */
    void setPkColumnName(java.lang.String pkColumnName);
    
    /**
     * Sets (as xml) the "pk-column-name" attribute
     */
    void xsetPkColumnName(org.apache.xmlbeans.XmlString pkColumnName);
    
    /**
     * Unsets the "pk-column-name" attribute
     */
    void unsetPkColumnName();
    
    /**
     * Gets the "value-column-name" attribute
     */
    java.lang.String getValueColumnName();
    
    /**
     * Gets (as xml) the "value-column-name" attribute
     */
    org.apache.xmlbeans.XmlString xgetValueColumnName();
    
    /**
     * True if has "value-column-name" attribute
     */
    boolean isSetValueColumnName();
    
    /**
     * Sets the "value-column-name" attribute
     */
    void setValueColumnName(java.lang.String valueColumnName);
    
    /**
     * Sets (as xml) the "value-column-name" attribute
     */
    void xsetValueColumnName(org.apache.xmlbeans.XmlString valueColumnName);
    
    /**
     * Unsets the "value-column-name" attribute
     */
    void unsetValueColumnName();
    
    /**
     * Gets the "pk-column-value" attribute
     */
    java.lang.String getPkColumnValue();
    
    /**
     * Gets (as xml) the "pk-column-value" attribute
     */
    org.apache.xmlbeans.XmlString xgetPkColumnValue();
    
    /**
     * True if has "pk-column-value" attribute
     */
    boolean isSetPkColumnValue();
    
    /**
     * Sets the "pk-column-value" attribute
     */
    void setPkColumnValue(java.lang.String pkColumnValue);
    
    /**
     * Sets (as xml) the "pk-column-value" attribute
     */
    void xsetPkColumnValue(org.apache.xmlbeans.XmlString pkColumnValue);
    
    /**
     * Unsets the "pk-column-value" attribute
     */
    void unsetPkColumnValue();
    
    /**
     * Gets the "initial-value" attribute
     */
    int getInitialValue();
    
    /**
     * Gets (as xml) the "initial-value" attribute
     */
    org.apache.xmlbeans.XmlInt xgetInitialValue();
    
    /**
     * True if has "initial-value" attribute
     */
    boolean isSetInitialValue();
    
    /**
     * Sets the "initial-value" attribute
     */
    void setInitialValue(int initialValue);
    
    /**
     * Sets (as xml) the "initial-value" attribute
     */
    void xsetInitialValue(org.apache.xmlbeans.XmlInt initialValue);
    
    /**
     * Unsets the "initial-value" attribute
     */
    void unsetInitialValue();
    
    /**
     * Gets the "allocation-size" attribute
     */
    int getAllocationSize();
    
    /**
     * Gets (as xml) the "allocation-size" attribute
     */
    org.apache.xmlbeans.XmlInt xgetAllocationSize();
    
    /**
     * True if has "allocation-size" attribute
     */
    boolean isSetAllocationSize();
    
    /**
     * Sets the "allocation-size" attribute
     */
    void setAllocationSize(int allocationSize);
    
    /**
     * Sets (as xml) the "allocation-size" attribute
     */
    void xsetAllocationSize(org.apache.xmlbeans.XmlInt allocationSize);
    
    /**
     * Unsets the "allocation-size" attribute
     */
    void unsetAllocationSize();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator newInstance() {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link XMLInputStream} */
        @Deprecated
		public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link XMLInputStream} */
        @Deprecated
		public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.TableGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link XMLInputStream} */
        @Deprecated
		public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link XMLInputStream} */
        @Deprecated
		public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
